﻿//====================================================================
// Create by Daniel
// Copyright: YunStudio Inc.
// file： YCUserAction.cs
// project ：YunCMS
// Build time：2012-09-22
// modify:
// description:
// ===================================================================
using System;
namespace YunCMS.Model
{
	/// <summary>
	///YCUserAction Model
	/// </summary>
	[Serializable]
	public class YCUserAction
	{
		#region 
		private int _id;
		private string _name = String.Empty;
		private string _note = String.Empty;
		private string _actiontype = String.Empty;
		private string _module = String.Empty;
		private int? _category;
		private string _actionvalue = String.Empty;
		private string _pageurl = String.Empty;
		#endregion
		
		#region 
		///<summary>
		///Constructor
		///</summary>
		public YCUserAction()
		{
		}
		///<summary>
		///Constructor
		///</summary>
		public YCUserAction
		(
			int id,
			string name,
			string note,
			string actiontype,
			string module,
			int? category,
			string actionvalue,
			string pageurl
		)
		{
			_id          = id;
			_name        = name;
			_note        = note;
			_actiontype  = actiontype;
			_module      = module;
			_category    = category;
			_actionvalue = actionvalue;
			_pageurl     = pageurl;
			
		}
		#endregion
		
		#region 
		
		///<summary>
		///ID
		///</summary>
		public int ID
		{
			get {return _id;}
			set {_id = value;}
		}

		///<summary>
		///Name
		///</summary>
		public string Name
		{
			get {return _name;}
			set {_name = value;}
		}

		///<summary>
		///Note
		///</summary>
		public string Note
		{
			get {return _note;}
			set {_note = value;}
		}

		///<summary>
		///ActionType
		///</summary>
		public string ActionType
		{
			get {return _actiontype;}
			set {_actiontype = value;}
		}

		///<summary>
		///Module
		///</summary>
		public string Module
		{
			get {return _module;}
			set {_module = value;}
		}

		///<summary>
		///Category
		///</summary>
		public int? Category
		{
			get {return _category;}
			set {_category = value;}
		}

		///<summary>
		///ActionValue
		///</summary>
		public string ActionValue
		{
			get {return _actionvalue;}
			set {_actionvalue = value;}
		}

		///<summary>
		///PageUrl
		///</summary>
		public string PageUrl
		{
			get {return _pageurl;}
			set {_pageurl = value;}
		}
	
		#endregion	
	}
}



